<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/10/21
  Time: 15:54
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
request.setCharacterEncoding("UTF-8");
String num1 = request.getParameter("num1");
String num2 = request.getParameter("num2");

double d1 = Double.parseDouble(num1);
double d2 = Double.parseDouble(num2);

double d3 = d1*d2;
out.println("乘法的结果为："+(d1*d2));
</body>
</html>
